build: Use python3 for the post install script
authorJordan Petridis <jpetridis@gnome.org>
Mon, 25 Feb 2019 05:09:35 +0000 (07:09 +0200)
committerJordan Petridis <jpetridis@gnome.org>
Wed, 27 Feb 2019 14:25:58 +0000 (16:25 +0200)
While *some* systems alias python to python3 nowdays, this is
not true for eveything. Especially systems that can potentially
offer both python2 and python3.

According to both PEP 394 and PEP 441 its recommended to always
add the 3 in the shebang.

build-aux/meson/post-install.py

index f84b1971f5eefc1307e9cd7381d914d4566dbd37..b66961c02bcfc9c72487dc12a53f4021fa4e4a58 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python\r
+#!/usr/bin/env python3
 \r
 import os\r
 import sys\r